import i18n from '../../../i18n/i18n'
export const tableOption = {
  border: true,
  stripe: true,
  menuAlign: 'center',
  menuWidth: 350,
  align: 'center',
  refreshBtn: true,
  searchSize: 'mini',
  addBtn: false,
  menu: false,
  searchBtn: false,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: i18n.t('distribUserWallet.distributorNickname'),
    prop: 'nickName',
    slot: true
  }, {
    label: i18n.t('distribUserWallet.mobileTelNumber'),
    prop: 'userMobile',
    searchLabelWidth: i18n.t('language') === 'language' ? 240 : 120,
    slot: true,
    search: true
  }, {
    label: i18n.t('distribution.accumulateIncome'),
    prop: 'addupAmount',
    slot: true

  }, {
    label: i18n.t('distribIncome.generationCommission'),
    prop: 'aGenerationCommission',
    sortable: 'custom',
    slot: true

  }, {
    label: i18n.t('distribIncome.secondGenerationCommission'),
    prop: 'secondGenerationCommission',
    sortable: 'custom',
    slot: true
  }, {
    label: i18n.t('distribUserWallet.waitTosettled'),
    prop: 'unsettledAmount',
    sortable: 'custom',
    slot: true
  }, {
    label: i18n.t('distribUserWallet.withdrawalAmount'),
    prop: 'settledAmount',
    sortable: 'custom',
    slot: true
  }, {
    label: i18n.t('distribUserWallet.invalidAmount'),
    prop: 'invalidAmount',
    sortable: 'custom',
    slot: true
  }
    //   {
    //   label: i18n.t('distribIncome.invitationReward'),
    //   prop: 'invitationRewards',
    //   sortable: 'custom',
    //   slot: true
    // },
  ]
}
